<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../lib/layui-v2.5.5/css/layui.css" media="all">
    <link rel="stylesheet" href="../css/public.css" media="all">
    <link rel="stylesheet" href="../css/topupInfo.css" media="all">
</head>
<body>
<div class="layuimini-container">
    <div class="title">
        <em></em>
        <h3>充值信息</h3>
    </div>
    <div class="tips">
        提示：请在工作日15:00前完成对公转账，15:00之后银行大额转账需隔天到账。
    </div>
    <div class="layuimini-main">
        <table class="layui-hide" id="currentTableId" lay-filter="currentTableFilter"></table>

    </div>
</div>
<script src="../lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
<script>
    layui.use(['form', 'table','tfApi'], function () {
        var $ = layui.jquery,
            form = layui.form,
            table = layui.table,
            API = layui.tfApi;

        table.render({
            elem: '#currentTableId',
            url: API.CURL + '/seller/qryRechargeInfos',
            cellMinWidth: 80,
            method: "POST",
            contentType: 'application/json',
            xhrFields: {withCredentials: true},crossDomain: true,
            request:{
                pageName: "page",
                limitName : "pageSize"
            },
            where:{
                "page": "0",
                "pageSize": "50"
            },
            cols: [[
                {field: 'sellerCompanyName', title: '商户名称'},
                {field: 'serviceName', title: '服务商公司信息',templet : function(d){
                    return '<div> 公司名称：' + d.serviceComName+ '</div><br/><div> 工商注册号：' + d.enterpriseCode+ '</div>';
                }},
                {field: 'bankAccountName', title: '服务商银行信息',templet : function(d){
                    return '<div> 开户（网点）银行：' + d.bankAccountName+'</div><br/><div> 账户名称：' + d.bankName + '</div><br/><div> 银行账号：' + d.bankCode+ '</div>';
                }},
                {field: 'serverAmountPoint', title: '商户费率信息',templet : function(d){
                    return '<div> 服务费率：' + d.serverAmountPoint+ '%</div><br/><div> 最大薪水：' + d.maxPay+ '元</div><br/><div> 最小薪水：' + d.minPay+ '元</div>';
                }},
            ]],
            limits: [10, 15, 20, 25, 50, 100],
            limit: 15,
            //page: true,
            //skin: 'line'
        });

    });
</script>

</body>
</html>